package com.kehongborui.fliggy.enums;

/**
 * @author zhang peng yang ming
 * @CopyRight (C) http://www.csdn.com
 * @brief
 * @email 122162005@qq.com
 * @date 2018-08-23
 */
public enum PayStatus {
    WAIT(0, "等待支付"),
    SUCCESS(1, "支付成功"),
    ;

    PayStatus(Integer code, String desc) {
        this.code = code;
        this.desc = desc;
    }

    private String desc;
    private Integer code;

    public String getDesc() {
        return desc;
    }

    public Byte getCode() {
        return code.byteValue();
    }
}
